#include <stdio.h>

#define MAX 9

int main(int argc, char const *argv[])
{


    for (size_t i = 0; i < MAX; i++)
    {
        
        for (size_t j = (MAX - i) ; j > 0; j--)
        {
            printf(" ");
        }
        for (size_t j = 0; j < i + 1; j++)
        {
            printf("*");
        }
        for (size_t j = 0; j < i ; j++)
        {
            printf("*");
        }
        puts("");
        
    }
    
    return 0;
}


